;function check_mobile(mobile){
	var flag	=	false;
	var value	=	$.trim(mobile);
	myreg		=	/^(1[3|4|5|8|7][0-9]{9})$/
	if(myreg.test(value))	flag	=	true;
	return flag;
}
;function isEmpty(value){	
	if (value == null || value == undefined || value == '') { 
		return true;
	}
	else return false; 
};
$(function() {
    $(window).resize(function() {
        $(window).height() > $("body").height() && $("#body").css("min-height", $(window).height() - $("#header").outerHeight() - $("#footer").outerHeight() + "px")
    });
    $(window).trigger("resize");
    setTimeout(function() {
        $("html,body").scrollTop(0)
    },
    300)
});

function m(e) {
        e = $(e);
        var t = e.css("border-color");
        e.css("border-color", "#f00").animate({
            "border-color": "#fff"
        },
        1200, "swing",
        function() {
            e.css("border-color", t)
        })
    }
